Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added mocked tests for databases - part 1 #215

Merged
merged 5 commits into from
Oct 2, 2023

Conversation

work-mohit
Copy link
Contributor

Refer Issue : #204

Added mocked tests for databases.add, databases.add_connection_pool, databases.add_user, databases.create_cluster, databases.create_replica

@danaelhe danaelhe self-requested a review October 2, 2023 13:36
@danaelhe
Copy link
Member

danaelhe commented Oct 2, 2023

Looks great!! Apologies, I should've included in the instructions but we lint our tests with the python package black. Currently, the "lint" test is failing for this PR but it's a super easy fix. If you run: poetry run black tests while in the pydo directory, it will automatically reformat the files and the "lint" test will pass. So just run that command and push up the changes and the lint tests will pass 👍

Copy link
Member

@danaelhe danaelhe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fantastic! Thank you so much for your contribution! :shipit:

@danaelhe danaelhe merged commit d73aeb2 into digitalocean:main Oct 2, 2023
5 checks passed
@work-mohit work-mohit deleted the add-mocked-tests-databases-1 branch October 2, 2023 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants